*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:"Poppins",sans-serif;

    background:
    linear-gradient(
    135deg,
    #eef9ff,
    #f8fcff,
    #ffffff
    );

    color:#222;

    overflow-x:hidden;
}

/* CONTAINER */

.blog-container{

    width:92%;

    max-width:1200px;

    margin:60px auto;
}

/* BLOG CARD */

.blog-post{

    background:#fff;

    border-radius:30px;

    padding:50px;

    box-shadow:
    0 20px 60px rgba(0,0,0,.08);

    overflow:hidden;
}

/* TITLE */

.blog-post h1{

    font-size:52px;

    font-weight:800;

    line-height:1.25;

    text-align:center;

    margin-bottom:35px;

    background:
    linear-gradient(
    135deg,
    #00c896,
    #0066ff,
    #d4af37
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

/* AUTHOR */

.author-box{

    display:flex;

    align-items:center;

    gap:20px;

    background:#f8fbff;

    padding:22px;

    border-radius:22px;

    border:1px solid #e6eef7;

    margin-bottom:35px;
}

.author-box img{

    width:85px;

    height:85px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #00c896;
}

.author-box h3{

    font-size:24px;

    margin-bottom:6px;
}

.author-box h3 a{

    color:#071a2f;

    text-decoration:none;
}

.author-box h3 a:hover{

    color:#00a6ff;
}

.author-box p{

    color:#64748b;

    font-size:15px;
}

/* FEATURE IMAGE */

.featured-image{

    width:100%;

    max-width:100%;

    height:auto;

    max-height:700px;

    display:block;

    margin:35px auto;

    object-fit:contain;

    border-radius:25px;

    background:#f8fbff;

    padding:12px;

    box-shadow:
    0 15px 40px rgba(0,0,0,.12);

    transition:.35s;
}

.featured-image:hover{

    transform:scale(1.01);
}

/* DESCRIPTION */

.blog-description{

    background:#f8fbff;

    border-left:5px solid #00c896;

    padding:30px;

    border-radius:18px;

    font-size:21px;

    line-height:1.9;

    color:#355070;

    margin-bottom:35px;
}

/* BLOG CONTENT */

.blog-content{

    font-size:19px;

    line-height:2;

    color:#333;
}

.blog-content p{

    margin-bottom:22px;
}

.blog-content img{

    max-width:100%;

    height:auto;

    display:block;

    margin:30px auto;

    border-radius:18px;
}

.blog-content h2{

    margin-top:35px;

    margin-bottom:18px;

    font-size:34px;

    color:#071a2f;
}

.blog-content h3{

    margin-top:30px;

    margin-bottom:15px;

    font-size:28px;

    color:#071a2f;
}

.blog-content ul,
.blog-content ol{

    padding-left:30px;

    margin:20px 0;
}

.blog-content li{

    margin-bottom:10px;

    line-height:1.9;
}

.blog-content a{

    color:#0066ff;

    text-decoration:none;

    font-weight:600;
}

.blog-content a:hover{

    color:#00c896;
}

/* META */

.blog-meta{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

    margin-top:45px;

    padding-top:30px;

    border-top:1px solid #e8eef5;
}

.blog-meta span{

    padding:12px 24px;

    border-radius:50px;

    background:#f8fbff;

    font-weight:600;

    color:#071a2f;

    box-shadow:
    0 5px 15px rgba(0,0,0,.05);
}

/* ==========================================
   SOCIAL ACTIONS
========================================== */

.social-actions{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

    margin:45px 0;
}

.social-actions button{

    border:none;

    outline:none;

    cursor:pointer;

    padding:14px 28px;

    border-radius:50px;

    font-size:16px;

    font-weight:600;

    color:#fff;

    background:
    linear-gradient(
    135deg,
    #00c896,
    #0066ff
    );

    transition:.35s;

    box-shadow:
    0 10px 25px rgba(0,102,255,.15);
}

.social-actions button:hover{

    transform:translateY(-4px);

    box-shadow:
    0 15px 35px rgba(0,102,255,.25);
}

/* ==========================================
   SHARE MENU
========================================== */

.share-dropdown{

    position:relative;
}

.share-menu{

    display:none;

    position:absolute;

    top:60px;

    left:50%;

    transform:translateX(-50%);

    min-width:190px;

    background:#fff;

    border-radius:18px;

    overflow:hidden;

    box-shadow:
    0 20px 45px rgba(0,0,0,.12);

    z-index:999;
}

.share-menu a{

    display:block;

    padding:15px 20px;

    text-decoration:none;

    color:#071a2f;

    font-weight:600;

    transition:.3s;
}

.share-menu a:hover{

    background:#00c896;

    color:#fff;
}

/* ==========================================
   COMMENTS
========================================== */

.comments-section{

    margin-top:70px;

    padding:35px;

    border-radius:25px;

    background:#fff;

    box-shadow:
    0 15px 40px rgba(0,0,0,.08);
}

.comments-section h2{

    font-size:34px;

    margin-bottom:25px;

    color:#071a2f;
}

.comments-section textarea{

    width:100%;

    min-height:160px;

    padding:20px;

    border-radius:18px;

    border:1px solid #dbe5ef;

    outline:none;

    resize:vertical;

    font-size:16px;

    transition:.3s;
}

.comments-section textarea:focus{

    border-color:#00c896;

    box-shadow:
    0 0 0 4px rgba(0,200,150,.12);
}

.comments-section button{

    margin-top:18px;

    border:none;

    cursor:pointer;

    padding:14px 28px;

    border-radius:50px;

    color:#fff;

    font-weight:600;

    background:
    linear-gradient(
    135deg,
    #00c896,
    #0066ff
    );

    transition:.3s;
}

.comments-section button:hover{

    transform:translateY(-3px);
}

/* ==========================================
   COMMENT BOX
========================================== */

.comment-box{

    margin-top:22px;

    padding:22px;

    border-radius:18px;

    background:#f8fbff;

    border-left:5px solid #00c896;
}

.comment-box h4{

    margin-bottom:10px;

    color:#071a2f;
}

.comment-box small{

    color:#64748b;

    margin-left:8px;

    font-size:13px;
}

.comment-box p{

    line-height:1.8;

    color:#334155;
}

/* ==========================================
   RELATED BLOGS
========================================== */

.related-blogs{

    margin-top:80px;
}

.related-blogs h2{

    text-align:center;

    font-size:42px;

    margin-bottom:40px;

    color:#071a2f;
}

.related-grid{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap:28px;
}

.related-card{

    background:#fff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:
    0 12px 30px rgba(0,0,0,.08);

    transition:.35s;
}

.related-card:hover{

    transform:translateY(-8px);
}

.related-card img{

    width:100%;

    height:220px;

    object-fit:contain;

    background:#f8fbff;

    padding:10px;

    display:block;
}

.related-card h3{

    padding:20px;

    font-size:22px;

    color:#071a2f;

    line-height:1.5;
}

.related-card a{

    display:inline-block;

    margin:0 20px 22px;

    text-decoration:none;

    color:#0066ff;

    font-weight:700;
}

.related-card a:hover{

    color:#00c896;
}

/* ==========================================
   READING PROGRESS
========================================== */

.reading-progress{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:5px;

    background:
    linear-gradient(
    90deg,
    #00c896,
    #0066ff
    );

    z-index:99999;
}

/* ==========================================
   MOBILE
========================================== */

@media(max-width:768px){

.blog-container{

    width:95%;

    margin:20px auto;
}

.blog-post{

    padding:22px;
}

.blog-post h1{

    font-size:32px;
}

.author-box{

    flex-direction:column;

    text-align:center;
}

.author-box img{

    width:75px;

    height:75px;
}

.featured-image{

    max-height:320px;

    padding:8px;
}

.blog-description{

    padding:20px;

    font-size:17px;
}

.blog-content{

    font-size:17px;

    line-height:1.9;
}

.blog-content h2{

    font-size:28px;
}

.blog-content h3{

    font-size:24px;
}

.blog-meta{

    gap:10px;
}

.blog-meta span{

    width:100%;

    text-align:center;
}

.social-actions{

    flex-direction:column;
}

.social-actions button{

    width:100%;
}

.comments-section{

    padding:22px;
}

.related-grid{

    grid-template-columns:1fr;
}

.related-card img{

    height:200px;
}

}

/* =========================
   BACK BUTTON
========================= */

.back-btn{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:14px 26px;

    margin-bottom:35px;

    text-decoration:none;

    color:#fff;

    font-size:16px;

    font-weight:600;

    border-radius:50px;

    background:
    linear-gradient(
    135deg,
    #00c896,
    #0066ff
    );

    box-shadow:
    0 10px 25px rgba(0,102,255,.20);

    transition:.35s;
}

.back-btn:hover{

    transform:
    translateY(-3px);

    box-shadow:
    0 15px 35px rgba(0,102,255,.30);
}

.back-btn i{

    font-size:15px;
}

@media(max-width:768px){

.back-btn{

    width:100%;

    justify-content:center;

    margin-bottom:25px;
}

}